package com.nervenets.web.controller.handler.user.user;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.TokenParams;
import com.nervenets.web.validation.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class UserInfoEditParams extends TokenParams {
    @NeedValidation(type = Type.EMPTY, description = "头像")
    private String avatar;
    @NeedValidation(type = Type.EMPTY, description = "真实姓名")
    private String name;
    @NeedValidation(type = Type.NUMBER, description = "区ID")
    private int areaId;
}
